93923516598f75f03b583b96bb8220aa00e784cc,blocklytest/src/androidTest/java/com/google/blockly/model/BlockFactoryTest.java,BlockFactoryTest,testObtainBlock,#,300

Before Change


        List<Input> inputs = frankenblock.getInputs();
        assertWithMessage("Frankenblock has the wrong number of inputs").that(inputs.size()).isEqualTo(3);
        assertWithMessage("First input should be a value input.").that(inputs.get(0) instanceof Input.InputValue).isTrue();
        assertWithMessage("Second input should be a statement input.").that(inputs.get(1) instanceof Input.InputStatement).isTrue();
        assertWithMessage("Third input should be a dummy input.").that(inputs.get(2) instanceof Input.InputDummy).isTrue();

        assertThat(frankenblock.getFieldByName("angle")).isNotNull();

After Change


                .that(inputs.size()).isEqualTo(3);
        assertWithMessage("First input should be a value input.")
                .that(inputs.get(0)).isInstanceOf(Input.InputValue.class);
        assertWithMessage("Second input should be a statement input.")
                .that(inputs.get(1)).isInstanceOf(Input.InputStatement.class);
        assertWithMessage("Third input should be a dummy input.")
                .that(inputs.get(2)).isInstanceOf(Input.InputDummy.class);